package chen.mbeans;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public class MygoodsFacade extends AbstractFacade<Mygoods> {

    @PersistenceContext(unitName = "ShopCar_jsfPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public MygoodsFacade() {
        super(Mygoods.class);
    }
    
}
